//Author: David Lo
//Date: 11/16/12
//References: LoadLevel.js
//Description: Changes level when player collides with SceneChange Object

var myLevel : String;

function OnTriggerEnter (myCollider: Collider ) {

	//Changes level when player collides with SceneChange Object
	if(myCollider.gameObject.name == "ChangeScene"){
		Application.LoadLevel(myLevel);
	}

}